# 创建一个字典
person = {"name": "freedom", "age": 5}

# 遍历所有键值对
for key,value in person.items():
	print(f"{key}:{value}")

# 遍历所有的键
for key in person.keys():
	print(key)

for key in person:
	print(key)

# 遍历所有的值
for value in person.values():
	print(value)